/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package edu.wpi.first.wpilibj.team1662.subsystems;

import edu.wpi.first.wpilibj.Solenoid;
import edu.wpi.first.wpilibj.command.Subsystem;
import edu.wpi.first.wpilibj.team1662.RobotMap;

/**
 *
 * @author programmer
 */
public class Pickup extends Subsystem {
    
    private Solenoid pickUpArm;
    private Solenoid pickUpArm2;
    
    public Pickup(){
        pickUpArm = new Solenoid(RobotMap.pickupSol);
        pickUpArm2 = new Solenoid(RobotMap.pickupSol2);
    }
    
    public void pickUp(){
        pickUpArm.set(true);
        pickUpArm2.set(false);
    }
    public void pickDown(){
        pickUpArm.set(false);
        pickUpArm2.set(true);
    }
    public void initDefaultCommand(){
        pickUpArm.set(true);
        pickUpArm2.set(false);
    }
    public boolean isRunning(){
        return true;
    }
    
}
